package com.example.demo.pojo;

import com.sun.javafx.beans.IDProperty;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity
@Table(name = "test_user")
@IdClass(TestUserId.class)
public class TestUser {

  @Id
  private String testId;
  @Id
  private String userId;
  private String answerFile;
  private String testFile;
  private int score;
  private int types;

  public String getTestFile() {
    return testFile;
  }

  public void setTestFile(String testFile) {
    this.testFile = testFile;
  }


  public String getAnswerFile() {
    return answerFile;
  }

  public void setAnswerFile(String answerFile) {
    this.answerFile = answerFile;
  }


  public String getTestId() {
    return testId;
  }

  public void setTestId(String testId) {
    this.testId = testId;
  }


  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }


  public int getScore() {
    return score;
  }

  public void setScore(int crade) {
    this.score = crade;
  }


  public int getTypes() {
    return types;
  }

  public void setTypes(int type) {
    this.types = type;
  }

}
